﻿using System;
using SlXnaApp1.ViewModel;

namespace SlXnaApp1.Pages
{
    public partial class StatisticsPage
    {
        public StatisticsPage()
        {
            InitializeComponent();
            DataContext = new StatisticsViewModel();
        }

        private void ResetBtnClick(object sender, EventArgs e)
        {
            ((StatisticsViewModel)DataContext).ResetScore();
        }
    }
}